import { ref } from "@vue/composition-api";
import _ from "lodash";
import { CompanyModules } from "../config";

export const useDetailSections = name => {
  const sections = ref(_.find(CompanyModules, { name }).items);
  return { sections };
};
